Improved Bounds and New Trade-Offs for Dynamic All Pairs Shortest Paths
نویسندگان
چکیده
Let G be a directed graph with n vertices, subject to dynamic updates, and such that each edge weight can assume at most S diierent arbitrary real values throughout the sequence of updates. We present a new algorithm for maintaining all pairs shortest n) amortized time per update and in O(1) worst-case time per distance query. This improves over previous bounds. We also show how to obtain query/update trade-oos for this problem, by introducing two new families of algorithms. Algorithms in the rst family achieve an update bound of e O(Skn 2) 1 and a query bound of e O(n=k), and improve over the best known update bounds for k in the range (n=S) 1=3 k < (n=S) 1=2. Algorithms in the second family achieve an update bound of e O ? S k n 2 and a query bound of e O(n 2 =k 2), and are competitive with the best known update bounds ((rst family included) for k in the range (n=S) 1=6 k < (n=S) 1=3 .
منابع مشابه
Fully Dynamic All Pairs Shortest Paths with Real Edge Weights
We present the first fully dynamic algorithm for maintaining all pairs shortest paths in directed graphs with real-valued edge weights. Given a dynamic directed graph G such that each edge can assume at most S different real values, we show how to support updates in O(n2.5 √ S log n ) amortized time and queries in optimal worst-case time. No previous fully dynamic algorithm was known for this p...
متن کاملFast Algorithms for Maintaining Shortest Paths in Outerplanar and Planar Digraphs
We present algorithms for maintaining shortest path information in dynamic outerplanar digraphs with sublogarithmic query time. By choosing appropriate parameters we achieve continuous trade-offs between the preprocessing, query, and update times. Our data structure is based on a recursive separator decomposition of the graph and it encodes the shortest paths between the members of a properly c...
متن کاملFully Dynamic All Pairs All Shortest Paths
We consider the all pairs all shortest paths (APASP) problem, which maintains all of the multiple shortest paths for every vertex pair in a directed graph G = (V,E) with a positive real weight on each edge. We present a fully dynamic algorithm for this problem in which an update supports either weight increases or weight decreases on a subset of edges incident to a vertex. Our algorithm runs in...
متن کاملTowards Lower Processor Bounds for All Pairs Shortest Path
A parallel algorithm to solve the all pairs shortest paths problem for a directed graph using O(n 3) processors on a CREW PRAM is described followed by a new model of parallel computation and results indicating how this model can be used to achieve lower processor bounds for the above and related problems.
متن کاملFully Dynamic Betweenness Centrality
We present fully dynamic algorithms for maintaining betweenness centrality (BC) of vertices in a directed graph G = (V,E) with positive edge weights. BC is a widely used parameter in the analysis of large complex networks. We achieve an amortized O(ν∗ · log n) time per update with our basic algorithm, and O(ν∗ · log n) time with a more complex algorithm, where n = |V |, and ν∗ bounds the number...
متن کامل